//
//  NNRollLabelController.swift
//  CommonTool
//
//  Created by tenroadshow on 12.1.22.
//

import UIKit

class NNRollLabelController: NNBaseViewController {

    lazy var rollLabel: NNScrollLabel = {
        let label = NNScrollLabel(frame: .zero)
        return label
    }()
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        rollLabel.contentText = "In a storyboard-based application, you will often want to do a little preparation before navigation"
        view.addSubview(rollLabel)
        rollLabel.snp.makeConstraints { make in
            make.center.equalToSuperview()
            make.size.equalTo(CGSize(width: 200, height: 30))
        }
        rollLabel.startAnimation()
    }
    
}
